Algorithm to check whether the given number is palindrome or not

welcome to shbcf.ru